import request from '@/utils/request'

// 查询拜访记录列表
export function listSee(query) {
  return request({
    url: '/itemmanage/see/list',
    method: 'get',
    params: query
  })
}

// 查询拜访记录详细
export function getSee(id) {
  return request({
    url: '/itemmanage/see/' + id,
    method: 'get'
  })
}

// 新增拜访记录
export function addSee(data) {
  return request({
    url: '/itemmanage/see',
    method: 'post',
    data: data
  })
}

// 修改拜访记录
export function updateSee(data) {
  return request({
    url: '/itemmanage/see',
    method: 'put',
    data: data
  })
}

// 删除拜访记录
export function delSee(id) {
  return request({
    url: '/itemmanage/see/' + id,
    method: 'delete'
  })
}
